summaryrefslogtreecommitdiffstats
path: root/Tests/ISPC/ObjectLibrary
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-12-07 14:14:54 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2020-12-07 14:14:54 (GMT)
commit9af93fef11e9ea23d7d87a1c217254c482555262 (patch)
tree4a728838b1784604c14464187db7675fcfcad34a /Tests/ISPC/ObjectLibrary
parent72ae15ebcb6061623b8a4a7119ddb49154e83094 (diff)
downloadCMake-9af93fef11e9ea23d7d87a1c217254c482555262.zip
CMake-9af93fef11e9ea23d7d87a1c217254c482555262.tar.gz
CMake-9af93fef11e9ea23d7d87a1c217254c482555262.tar.bz2
ISPC: Handle OBJECT sources in different directories
Diffstat (limited to 'Tests/ISPC/ObjectLibrary')
-rw-r--r--Tests/ISPC/ObjectLibrary/CMakeLists.txt2
-rw-r--r--Tests/ISPC/ObjectLibrary/subdir/extra.ispc (renamed from Tests/ISPC/ObjectLibrary/extra.ispc)0
2 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ISPC/ObjectLibrary/CMakeLists.txt b/Tests/ISPC/ObjectLibrary/CMakeLists.txt
index 4767d7e..a4c81a9 100644
--- a/Tests/ISPC/ObjectLibrary/CMakeLists.txt
+++ b/Tests/ISPC/ObjectLibrary/CMakeLists.txt
@@ -8,7 +8,7 @@ if(CMAKE_SIZEOF_VOID_P EQUAL 4)
endif()
-add_library(ispc_objects OBJECT simple.ispc extra.ispc)
+add_library(ispc_objects OBJECT simple.ispc subdir/extra.ispc)
set_target_properties(ispc_objects PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_target_properties(ispc_objects PROPERTIES ISPC_INSTRUCTION_SETS "sse2-i32x4;sse4-i8x16")
diff --git a/Tests/ISPC/ObjectLibrary/extra.ispc b/Tests/ISPC/ObjectLibrary/subdir/extra.ispc
index 5a4a442..5a4a442 100644
--- a/Tests/ISPC/ObjectLibrary/extra.ispc
+++ b/Tests/ISPC/ObjectLibrary/subdir/extra.ispc