mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
fix cmake
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@502 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -14,6 +14,13 @@ foreach(PATH IN LISTS EXAMPLES_SOURCES)
|
||||
PRIVATE
|
||||
Mw
|
||||
)
|
||||
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
target_link_libraries(
|
||||
${TARGET}
|
||||
PRIVATE
|
||||
m
|
||||
)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
add_subdirectory(basic)
|
||||
|
||||
@@ -13,4 +13,11 @@ foreach(PATH IN LISTS EXAMPLES_BASIC_SOURCES)
|
||||
PRIVATE
|
||||
Mw
|
||||
)
|
||||
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
target_link_libraries(
|
||||
${TARGET}
|
||||
PRIVATE
|
||||
m
|
||||
)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user