mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-17 13:51:47 -05:00
fix rpath/name_dir
This commit is contained in:
parent
5ff197bc35
commit
3ab0bc7c67
@ -149,16 +149,6 @@ elseif(APPLE)
|
|||||||
set(CMAKE_MACOSX_RPATH ON)
|
set(CMAKE_MACOSX_RPATH ON)
|
||||||
message(STATUS "RPATH support: ${CMAKE_MACOSX_RPATH}")
|
message(STATUS "RPATH support: ${CMAKE_MACOSX_RPATH}")
|
||||||
|
|
||||||
# TODO: check if(DEFINED) andfix macports -D
|
|
||||||
# fix install path
|
|
||||||
set(CMAKE_INSTALL_RPATH
|
|
||||||
"${CMAKE_INSTALL_PREFIX}/${INSTALL_LIB_DIR}" CACHE
|
|
||||||
PATH "Library Install RPath" FORCE)
|
|
||||||
# force full path
|
|
||||||
set(CMAKE_INSTALL_NAME_DIR
|
|
||||||
"${CMAKE_INSTALL_PREFIX}/${INSTALL_LIB_DIR}" CACHE
|
|
||||||
PATH "Library Install Name Destination Directory" FORCE)
|
|
||||||
|
|
||||||
configure_file("${CMAKE_SOURCE_DIR}/cmake/cpack/MacOSXBundleInfo.plist.in"
|
configure_file("${CMAKE_SOURCE_DIR}/cmake/cpack/MacOSXBundleInfo.plist.in"
|
||||||
"${CMAKE_BINARY_DIR}/Info.plist" @ONLY)
|
"${CMAKE_BINARY_DIR}/Info.plist" @ONLY)
|
||||||
elseif (WIN32)
|
elseif (WIN32)
|
||||||
@ -172,6 +162,16 @@ elseif (WIN32)
|
|||||||
set(OpenCV_LIBS="${EXTERNAL_LIBRARY_FOLDER}/opencv/opencv_ffmpeg410_64.dll")
|
set(OpenCV_LIBS="${EXTERNAL_LIBRARY_FOLDER}/opencv/opencv_ffmpeg410_64.dll")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# TODO: check if(DEFINED) and fix macports -D
|
||||||
|
# fix install path
|
||||||
|
set(CMAKE_INSTALL_RPATH
|
||||||
|
"${CMAKE_INSTALL_PREFIX}/${INSTALL_LIB_DIR}" CACHE
|
||||||
|
PATH "Library Install RPath" FORCE)
|
||||||
|
# force full path
|
||||||
|
set(CMAKE_INSTALL_NAME_DIR
|
||||||
|
"${CMAKE_INSTALL_PREFIX}/${INSTALL_LIB_DIR}" CACHE
|
||||||
|
PATH "Library Install Name Destination Directory" FORCE)
|
||||||
|
|
||||||
# enable 24 bit receiving path
|
# enable 24 bit receiving path
|
||||||
if (RX_SAMPLE_24BIT)
|
if (RX_SAMPLE_24BIT)
|
||||||
message(STATUS "Compiling for 24 bit Rx DSP chain")
|
message(STATUS "Compiling for 24 bit Rx DSP chain")
|
||||||
|
Loading…
Reference in New Issue
Block a user