diff --git a/dGame/dBehaviors/CMakeLists.txt b/dGame/dBehaviors/CMakeLists.txt index fad239bc9..c8cb0be07 100644 --- a/dGame/dBehaviors/CMakeLists.txt +++ b/dGame/dBehaviors/CMakeLists.txt @@ -57,6 +57,6 @@ set(DGAME_DBEHAVIORS_SOURCES "AirMovementBehavior.cpp" "VerifyBehavior.cpp") add_library(dBehaviors STATIC ${DGAME_DBEHAVIORS_SOURCES}) -target_link_libraries(dBehaviors - PUBLIC dPhysics) +target_link_libraries(dBehaviors PUBLIC dPhysics) +target_include_directories(dBehaviors PUBLIC ".") target_precompile_headers(dBehaviors REUSE_FROM dGameBase) diff --git a/dGame/dEntity/CMakeLists.txt b/dGame/dEntity/CMakeLists.txt index f59d7d142..d7d96e147 100644 --- a/dGame/dEntity/CMakeLists.txt +++ b/dGame/dEntity/CMakeLists.txt @@ -3,4 +3,5 @@ set(DGAME_DENTITY_SOURCES "EntityTimer.cpp") add_library(dEntity STATIC ${DGAME_DENTITY_SOURCES}) +target_include_directories(dEntity PUBLIC ".") target_precompile_headers(dEntity REUSE_FROM dGameBase) diff --git a/dGame/dMission/CMakeLists.txt b/dGame/dMission/CMakeLists.txt index af9194285..4e4bdec2b 100644 --- a/dGame/dMission/CMakeLists.txt +++ b/dGame/dMission/CMakeLists.txt @@ -5,4 +5,4 @@ set(DGAME_DMISSION_SOURCES add_library(dMission STATIC ${DGAME_DMISSION_SOURCES}) target_link_libraries(dMission PUBLIC dDatabase) -target_precompile_headers(dMission REUSE_FROM dGameBase) \ No newline at end of file +target_precompile_headers(dMission REUSE_FROM dGameBase) diff --git a/dGame/dUtilities/CMakeLists.txt b/dGame/dUtilities/CMakeLists.txt index 952b268c3..b6bb6059b 100644 --- a/dGame/dUtilities/CMakeLists.txt +++ b/dGame/dUtilities/CMakeLists.txt @@ -11,4 +11,4 @@ add_library(dUtilities STATIC ${DGAME_DUTILITIES_SOURCES}) target_precompile_headers(dUtilities REUSE_FROM dGameBase) target_link_libraries(dUtilities PUBLIC dDatabase dPhysics - INTERFACE dZoneManager) \ No newline at end of file + INTERFACE dZoneManager) diff --git a/dScripts/02_server/Enemy/CMakeLists.txt b/dScripts/02_server/Enemy/CMakeLists.txt index f4b0eb958..62f617728 100644 --- a/dScripts/02_server/Enemy/CMakeLists.txt +++ b/dScripts/02_server/Enemy/CMakeLists.txt @@ -53,4 +53,4 @@ target_include_directories(dScriptsServerEnemy PUBLIC "." "VE" "Waves" ) -target_precompile_headers(dScriptsServerEnemy PRIVATE ${HEADERS_DGAME}) +target_precompile_headers(dScriptsServerEnemy REUSE_FROM dScriptsBase)