Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
UnrealKaraulov committed Jan 14, 2024
1 parent 5465fec commit b722571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ if(MSVC)
else()
if(WIN32)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
target_link_libraries(${PROJECT_NAME} opengl32 fmt::fmt glfw ${CMAKE_CURRENT_SOURCE_DIR}/glew/lib/Release/x64/glew32s.lib)
target_link_libraries(${PROJECT_NAME} fmt::fmt glfw ${CMAKE_CURRENT_SOURCE_DIR}/glew/lib/Release/x64/glew32.lib opengl32)
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4)
target_link_libraries(${PROJECT_NAME} opengl32 fmt::fmt glfw ${CMAKE_CURRENT_SOURCE_DIR}/glew/lib/Release/Win32/glew32s.lib)
target_link_libraries(${PROJECT_NAME} fmt::fmt glfw ${CMAKE_CURRENT_SOURCE_DIR}/glew/lib/Release/Win32/glew32.lib opengl32)
endif()
add_definitions(-DWIN32)
else()
Expand Down

0 comments on commit b722571

Please sign in to comment.