Do not link directly to libheaptrack.
authorMilian Wolff <mail@milianw.de>
Mon, 25 Aug 2014 15:57:47 +0000 (17:57 +0200)
committerMilian Wolff <mail@milianw.de>
Mon, 25 Aug 2014 15:57:47 +0000 (17:57 +0200)
The interpreter is important for useful data imo.

tests/CMakeLists.txt

index 672197b..ce84e67 100644 (file)
@@ -1,8 +1,6 @@
 set(CMAKE_BUILD_TYPE Debug)
 
 add_executable(test_c test.c)
-target_link_libraries(test_c libheaptrack)
 add_executable(test_cpp test.cpp)
-target_link_libraries(test_cpp libheaptrack)
 add_executable(threaded threaded.cpp)
-target_link_libraries(threaded ${CMAKE_THREAD_LIBS_INIT} libheaptrack)
+target_link_libraries(threaded ${CMAKE_THREAD_LIBS_INIT})