Update CMakeLists.txt on the example

pull/2642/head
zEuS0390 3 years ago
parent 74fb3a90b5
commit b08b3a3448
No known key found for this signature in database
GPG Key ID: B8BB6971852ABE37

@ -12,7 +12,7 @@ endif()
# Example of using pre-compiled library # Example of using pre-compiled library
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
add_executable(example example.cpp) add_executable(example example.cpp)
target_link_libraries(example PRIVATE spdlog::spdlog $<$<BOOL:MINGW>:ws2_32>) target_link_libraries(example PRIVATE spdlog::spdlog $<$<BOOL:${MINGW}>:ws2_32>)
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Example of using header-only library # Example of using header-only library

Loading…
Cancel
Save