mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-12 11:26:11 -05:00
PlutoSDR: Debian build: fixed cmake file for libiio build (1)
This commit is contained in:
parent
7b2e4ed9a7
commit
f1f516c637
@ -305,7 +305,9 @@ if(WITH_TESTS)
|
|||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(iio ${LIBIIO_CFILES} ${LIBIIO_HEADERS} ${LIBIIO_EXTRA_HEADERS})
|
add_definitions(-DQT_SHARED)
|
||||||
|
|
||||||
|
add_library(iio SHARED ${LIBIIO_CFILES} ${LIBIIO_HEADERS} ${LIBIIO_EXTRA_HEADERS})
|
||||||
set_target_properties(iio PROPERTIES
|
set_target_properties(iio PROPERTIES
|
||||||
VERSION ${VERSION}
|
VERSION ${VERSION}
|
||||||
SOVERSION ${LIBIIO_VERSION_MAJOR}
|
SOVERSION ${LIBIIO_VERSION_MAJOR}
|
||||||
@ -324,7 +326,7 @@ endif()
|
|||||||
if(NOT SKIP_INSTALL_ALL)
|
if(NOT SKIP_INSTALL_ALL)
|
||||||
install(TARGETS iio
|
install(TARGETS iio
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
LIBRARY DESTINATION lib
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
FRAMEWORK DESTINATION /Library/Frameworks
|
FRAMEWORK DESTINATION /Library/Frameworks
|
||||||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user