mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-28 23:28:49 -05:00
Only install MAP65 on MS Windows for now
This commit is contained in:
parent
5817a1e946
commit
0c8281ed69
@ -51,7 +51,8 @@ add_executable (map65 ${map65_CXXSRCS} ${map65_CSRCS} ${map65_GENUISRCS} map65.r
|
|||||||
target_include_directories (map65 PRIVATE ${CMAKE_SOURCE_DIR} ${FFTW3_INCLUDE_DIRS})
|
target_include_directories (map65 PRIVATE ${CMAKE_SOURCE_DIR} ${FFTW3_INCLUDE_DIRS})
|
||||||
target_link_libraries (map65 wsjt_qt m65impl ${FFTW3_LIBRARIES} Qt5::Widgets Qt5::Network Portaudio::Portaudio Usb::Usb)
|
target_link_libraries (map65 wsjt_qt m65impl ${FFTW3_LIBRARIES} Qt5::Widgets Qt5::Network Portaudio::Portaudio Usb::Usb)
|
||||||
|
|
||||||
install (
|
if (WIN32)
|
||||||
|
install (
|
||||||
CODE "get_filename_component (_path \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/wsjtx_dir.txt\" REALPATH)
|
CODE "get_filename_component (_path \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/wsjtx_dir.txt\" REALPATH)
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set (_separator \"\\\\\")
|
set (_separator \"\\\\\")
|
||||||
@ -61,8 +62,9 @@ install (
|
|||||||
file (WRITE \"\${_path}\" \".\${_separator}\\n\")"
|
file (WRITE \"\${_path}\" \".\${_separator}\\n\")"
|
||||||
)
|
)
|
||||||
|
|
||||||
install (
|
install (
|
||||||
TARGETS map65
|
TARGETS map65
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
|
||||||
BUNDLE DESTINATION . COMPONENT runtime
|
BUNDLE DESTINATION . COMPONENT runtime
|
||||||
)
|
)
|
||||||
|
endif ()
|
@ -138,8 +138,10 @@ target_link_libraries (mapsim m65impl ${FFTW3_LIBRARIES})
|
|||||||
add_executable (synctest synctest.f90)
|
add_executable (synctest synctest.f90)
|
||||||
target_link_libraries (synctest m65impl ${FFTW3_LIBRARIES})
|
target_link_libraries (synctest m65impl ${FFTW3_LIBRARIES})
|
||||||
|
|
||||||
install (
|
if (WIN32)
|
||||||
|
install (
|
||||||
TARGETS m65 mapsim
|
TARGETS m65 mapsim
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
|
||||||
BUNDLE DESTINATION . COMPONENT runtime
|
BUNDLE DESTINATION . COMPONENT runtime
|
||||||
)
|
)
|
||||||
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user