File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
-
2
1
if (NOT TARGET render-modules )
3
2
include (FetchContent )
4
3
@@ -9,4 +8,5 @@ if(NOT TARGET render-modules)
9
8
)
10
9
11
10
FetchContent_MakeAvailable (render-modules )
12
- endif ()
11
+ get_target_property (render-modules-icls render-modules INTERFACE_INCLUDE_DIRECTORIES )
12
+ endif ()
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ endif()
17
17
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
18
18
19
19
include (CMake/FindPolymorphEngine.cmake )
20
- include (cmake/FindRenderCore .cmake )
20
+ include (CMake/FindRenderModules .cmake )
21
21
22
22
file (GLOB_RECURSE SCRIPTS_SRC Scripts/src/*.cpp )
23
23
file (GLOB_RECURSE SCRIPTS_ICL Scripts/include/*.hpp )
@@ -28,7 +28,6 @@ file(GLOB_RECURSE FACTORY_ICL Factory/include/*.hpp)
28
28
file (GLOB_RECURSE CORE_SRC Core/src/*.cpp )
29
29
file (GLOB_RECURSE CORE_ICL Core/include/*.hpp )
30
30
file (GLOB_RECURSE EXPORTS IncludeExport/*.hpp )
31
- get_target_property (ICLS_CORE render-modules INCLUDE_DIRECTORIES )
32
31
33
32
set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
34
33
@@ -41,7 +40,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE
41
40
)
42
41
target_include_directories (${PROJECT_NAME} PUBLIC
43
42
IncludeExport
44
- ${ICLS_CORE }
43
+ ${render-modules-icls }
45
44
)
46
45
47
46
target_link_libraries (${PROJECT_NAME} PolymorphEngine )
You can’t perform that action at this time.
0 commit comments