mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-22 23:29:02 +00:00
Fixup CMake to work with OpenCL 1.2 branch.
This commit is contained in:
committed by
Kévin Petit
parent
5413bcf52e
commit
b4e39211d7
@@ -1,18 +1,21 @@
|
||||
add_executable(conformance_Test_half
|
||||
cl_utils.c Test_vLoadHalf.c Test_roundTrip.c
|
||||
Test_vStoreHalf.c main.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/mingw_compat.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
set_source_files_properties(
|
||||
cl_utils.c Test_vLoadHalf.c Test_roundTrip.c
|
||||
Test_vStoreHalf.c main.c
|
||||
../../test_common/harness/mingw_compat.c
|
||||
../../test_common/harness/msvc9.c
|
||||
PROPERTIES LANGUAGE CXX)
|
||||
endif(MSVC)
|
||||
TARGET_LINK_LIBRARIES(conformance_Test_half
|
||||
${CLConform_LIBRARIES})
|
||||
add_executable(conformance_test_half
|
||||
cl_utils.c Test_vLoadHalf.c Test_roundTrip.c
|
||||
Test_vStoreHalf.c main.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/mingw_compat.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
set_source_files_properties(
|
||||
cl_utils.c Test_vLoadHalf.c Test_roundTrip.c
|
||||
Test_vStoreHalf.c main.c
|
||||
../../test_common/harness/mingw_compat.c
|
||||
../../test_common/harness/msvc9.c
|
||||
PROPERTIES LANGUAGE CXX)
|
||||
endif(MSVC)
|
||||
TARGET_LINK_LIBRARIES(conformance_test_half
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
install(TARGETS conformance_test_half
|
||||
DESTINATION "${CLConf_OUT_DIR}")
|
||||
|
||||
Reference in New Issue
Block a user