Permalink
Browse files

Don't link math lib on Windows

  • Loading branch information...
magestik committed Sep 8, 2018
1 parent 398f114 commit d66c8467b94c9881c6326bd23a1c65887774f41f
Showing with 4 additions and 1 deletion.
  1. +4 −1 examples/simple/CMakeLists.txt
@@ -2,4 +2,7 @@ project (simple C)
include_directories(${CMAKE_BINARY_DIR}/include)
link_directories(${CMAKE_BINARY_DIR})
add_executable(simple simple.c)
target_link_libraries(simple PRIVATE openhmd m)
target_link_libraries(simple PRIVATE openhmd)
if (UNIX)
target_link_libraries(simple PRIVATE m)
endif()

0 comments on commit d66c846

Please sign in to comment.