Fixed CMP0026 properly. Requires cmake 2.8.8+

This commit is contained in:
Shyotl
2014-12-26 23:53:14 -06:00
parent b3bd91877c
commit f5d3bc2b7b
7 changed files with 19 additions and 21 deletions

View File

@@ -129,7 +129,7 @@ if (WINDOWS)
)
endif (WINDOWS)
get_target_property(TEST_EXE test LOCATION)
SET(TEST_EXE $<TARGET_FILE:test>)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/cpp_tests_ok.txt