kopia lustrzana https://github.com/stlink-org/stlink
Added status messages to CMakeLists.txt
rodzic
393310fc99
commit
1de2e4b0f8
|
@ -121,6 +121,10 @@ else()
|
|||
set(STLINK_SHARED_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
||||
endif()
|
||||
|
||||
message(STATUS "STLINK_LIB_SHARED: ${STLINK_LIB_SHARED}")
|
||||
message(STATUS "PROJECT_VERSION_MAJOR: ${PROJECT_VERSION_MAJOR}")
|
||||
message(STATUS "VERSION: ${STLINK_SHARED_VERSION}")
|
||||
|
||||
set_target_properties(${STLINK_LIB_SHARED}
|
||||
PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR}
|
||||
VERSION ${STLINK_SHARED_VERSION}
|
||||
|
@ -162,7 +166,7 @@ if (APPLE)
|
|||
find_library(IOKit IOKit)
|
||||
target_link_libraries(${STLINK_LIB_STATIC} ${CoreFoundation} ${IOKit} ${ObjC})
|
||||
endif()
|
||||
|
||||
|
||||
if (WIN32 OR MSYS OR MINGW)
|
||||
target_link_libraries(${STLINK_LIB_STATIC} ${LIBUSB_LIBRARY} wsock32 ws2_32)
|
||||
else()
|
||||
|
|
Ładowanie…
Reference in New Issue