Skip to content

Commit f9d4ec9

Browse files
fix up the GLSL inclusion into IDE projects some more
1 parent 2725d9b commit f9d4ec9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nbl/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,18 +511,18 @@ endmacro()
511511
# just gather all the header files and later put them into project so it's easy to search for things using IDE
512512
file(GLOB_RECURSE NABLA_HEADERS_PRIV1 "*.h")
513513
file(GLOB_RECURSE NABLA_HEADERS_PRIV2 "${NBL_ROOT_PATH}/src/nbl/*.h")
514-
set(NABLA_HEADERS "${CMAKE_CURRENT_BINARY_DIR}/include/nabla.h" ${NABLA_HEADERS_PUBLIC} ${NABLA_HEADERS_PIRV1} ${NABLA_HEADERS_PRIV2})
515514

516515
#always install builtins (some may be included in cpp regardless if embedded or not)
517516
foreach(X IN LISTS nbl_resources_to_embed)
518517
list(APPEND NABLA_HEADERS_PUBLIC ${NBL_ROOT_PATH}/include/${X})
519518
endforeach()
520519

520+
set(NABLA_HEADERS "${CMAKE_CURRENT_BINARY_DIR}/include/nabla.h" ${NABLA_HEADERS_PUBLIC} ${NABLA_HEADERS_PIRV1} ${NABLA_HEADERS_PRIV2})
521+
521522
# declare the library!
522523
add_library(Nabla STATIC
523524
${NABLA_SRCS_COMMON}
524525
${NABLA_HEADERS}
525-
${nbl_resources_to_embed}
526526
$<TARGET_OBJECTS:aesGladman>
527527
$<TARGET_OBJECTS:bzip2>
528528
$<TARGET_OBJECTS:lz4>

0 commit comments

Comments
 (0)