Install the test executable alongside glslangValidator

This commit is contained in:
Andrew Woloszyn 2016-05-05 14:58:26 -04:00
parent db0eaf9887
commit 0b887d00e0

View File

@ -19,6 +19,9 @@ if (TARGET gmock)
add_executable(glslangtests ${TEST_SOURCES})
set_property(TARGET glslangtests PROPERTY FOLDER tests)
install(TARGETS glslangtests
RUNTIME DESTINATION bin)
target_compile_definitions(glslangtests
PRIVATE GLSLANG_TEST_DIRECTORY="${CMAKE_CURRENT_SOURCE_DIR}/../Test")
target_include_directories(glslangtests PRIVATE