Skip to content

Commit

Permalink
add exports define
Browse files Browse the repository at this point in the history
  • Loading branch information
viini42 committed Jan 20, 2024
1 parent 1db28b9 commit 9df7419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ add_library(${ENGINE_NAME} SHARED
)
target_precompile_headers(${ENGINE_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/include/ge_pch.hpp)
target_include_directories(${ENGINE_NAME} PUBLIC ${CMAKE_SOURCE_DIR}/include)
target_compile_definitions(${ENGINE_NAME} PRIVATE GLFW_INCLUDE_NONE)
target_compile_definitions(${ENGINE_NAME} PRIVATE GLFW_INCLUDE_NONE GRAPENGINE_EXPORTS)
target_compile_options(${ENGINE_NAME} PRIVATE /W4)

find_package(glfw3 CONFIG REQUIRED)
Expand Down

0 comments on commit 9df7419

Please sign in to comment.