Skip to content

Commit

Permalink
conan
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Aug 26, 2023
1 parent 719ac0d commit fa96ae6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,17 @@ else()
endif()

if(MSVC)
add_definitions("/bigobj")
find_package(Eigen3 REQUIRED)
include_directories(${EIGEN3_INCLUDE_DIR})
find_package(libdxfrw REQUIRED)
include_directories(${libdxfrw_INCLUDE_DIR})
find_package(freetype REQUIRED)
include_directories(${freetype_INCLUDE_DIR})
find_package(glew REQUIRED)
include_directories(${glew_INCLUDE_DIR})
find_package(glm REQUIRED)
include_directories(${glm_INCLUDE_DIR})
add_definitions("/bigobj")
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
# Kaguya uses a pointer to a local variable (in object.hpp file) to store class conversions.
# When used in different modules, the variable doesn't have the same address, preventing to mix kernel and UI bindings
Expand Down

0 comments on commit fa96ae6

Please sign in to comment.