Skip to content

Commit 26bec76

Browse files
committed
cmake: don't compile offlineshadercompiler into library
REMOVE_ITEM needs the full path, not just the name
1 parent 0ea6a6e commit 26bec76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WickedEngine/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ set_target_properties(Jolt PROPERTIES
6262
file(GLOB HEADER_FILES CONFIGURE_DEPENDS *.h)
6363

6464
file(GLOB SOURCE_FILES CONFIGURE_DEPENDS *.cpp)
65-
list(REMOVE_ITEM SOURCE_FILES offlineshadercompiler.cpp)
65+
list(REMOVE_ITEM SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/offlineshadercompiler.cpp)
6666

6767
add_library(${TARGET_NAME} ${WICKED_LIBRARY_TYPE}
6868
${SOURCE_FILES}

0 commit comments

Comments
 (0)