Fixed CMP0026 properly. Requires cmake 2.8.8+
This commit is contained in:
@@ -87,7 +87,7 @@ MACRO(ADD_BUILD_TEST_INTERNAL name parent libraries source_files)
|
||||
${libraries}
|
||||
)
|
||||
|
||||
GET_TARGET_PROPERTY(TEST_EXE ${name}_test LOCATION)
|
||||
SET(TEST_EXE $<TARGET_FILE:${name}_test>)
|
||||
SET(TEST_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${name}_test_ok.txt)
|
||||
|
||||
IF ("${wrapper}" STREQUAL "")
|
||||
|
||||
Reference in New Issue
Block a user