Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LeandroSQ committed Jan 30, 2024
1 parent 60a3cd3 commit f28269d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ function(dump_info)
message(STATUS "OS: APPLE")
elseif(LINUX)
message(STATUS "OS: LINUX")
elseif(UNIX)
message(STATUS "OS: UNIX")
else()
message(FATAL_ERROR "OS: UNKNOWN OS")
endif()

endfunction()
Expand Down Expand Up @@ -121,7 +125,9 @@ endif()
# Source files
file(GLOB_RECURSE SOURCES "src/core/*.cpp" "src/core/*.hpp")
set(PRECOMPILED_HEADERS "src/core/precomp.hpp")
if(NOT LINUX)
if(LINUX)
set(CMAKE_PCH_INSTANTIATE_TEMPLATES OFF)
else()
set(CMAKE_PCH_INSTANTIATE_TEMPLATES ON)
endif()

Expand Down

0 comments on commit f28269d

Please sign in to comment.