Skip to content

Commit

Permalink
Force use of C++ linker for app tests.
Browse files Browse the repository at this point in the history
jrprice committed Feb 23, 2015
1 parent 30d85c9 commit 7eb81fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -20,8 +20,8 @@ foreach(test
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
else()
add_test(app_${test} "${test}/${test}")
set_target_properties(${test} PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${test}")
set_target_properties(${test} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${test}")
set_target_properties(${test} PROPERTIES LINKER_LANGUAGE CXX)
endif()

set_tests_properties(app_${test} PROPERTIES DEPENDS ${test})

0 comments on commit 7eb81fc

Please sign in to comment.