diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-12-07 14:14:54 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2020-12-07 14:14:54 (GMT) |
commit | 9af93fef11e9ea23d7d87a1c217254c482555262 (patch) | |
tree | 4a728838b1784604c14464187db7675fcfcad34a /Tests | |
parent | 72ae15ebcb6061623b8a4a7119ddb49154e83094 (diff) | |
download | CMake-9af93fef11e9ea23d7d87a1c217254c482555262.zip CMake-9af93fef11e9ea23d7d87a1c217254c482555262.tar.gz CMake-9af93fef11e9ea23d7d87a1c217254c482555262.tar.bz2 |
ISPC: Handle OBJECT sources in different directories
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/ISPC/ObjectLibrary/CMakeLists.txt | 2 | ||||
-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 |