summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoranonymous <local@localhost>2010-07-29 01:07:47 +0700
committeranonymous <local@localhost>2010-08-31 18:05:47 +0700
commit41de4207a476512f4d3298e238927aa6b436b57e (patch)
tree92f42361beed502d3134b38cb81453da45875dfd /test
parent50989850d21bece7e421dfbbc5ef165e0e66bb50 (diff)
downloadlibcxxrt-41de4207a476512f4d3298e238927aa6b436b57e.tar.gz
libcxxrt-41de4207a476512f4d3298e238927aa6b436b57e.tar.bz2
libcxxrt-41de4207a476512f4d3298e238927aa6b436b57e.tar.xz
-nodefaultlibs flag is added for tests
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 99ad4d1..28da55e 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -8,10 +8,12 @@ set(CXXTEST_SOURCES
add_executable(cxxrt-test-static ${CXXTEST_SOURCES})
-target_link_libraries(cxxrt-test-static cxxrt-static pthread dl)
+set_property(TARGET cxxrt-test-static PROPERTY LINK_FLAGS -nodefaultlibs)
+target_link_libraries(cxxrt-test-static cxxrt-static gcc_s pthread dl c)
add_executable(cxxrt-test-shared ${CXXTEST_SOURCES})
-target_link_libraries(cxxrt-test-shared cxxrt-shared pthread dl)
+set_property(TARGET cxxrt-test-shared PROPERTY LINK_FLAGS -nodefaultlibs)
+target_link_libraries(cxxrt-test-shared cxxrt-shared pthread dl c)
add_executable(system-test ${CXXTEST_SOURCES})