1
0
mirror of https://github.com/saitohirga/WSJT-X.git synced 2025-04-09 21:08:37 -04:00

Replace the use of environment variable SFOX_DIR in CMakeLists.txt.

This commit is contained in:
Joe Taylor 2024-05-21 10:05:57 -04:00
parent b9c364fbca
commit c8d109b0a0

View File

@ -1658,10 +1658,19 @@ install (DIRECTORY
)
if (WIN32)
# set (sfox_dir "$ENV{SFOX_DIR}")
if (DEFINED ENV{SFOX_DIR})
set(sfox_dir "$ENV{SFOX_DIR}")
else ()
set(sfox_dir lib/superfox/win)
endif ()
install (FILES
lib/superfox/win/sfrx.exe
lib/superfox/win/sftx.exe
lib/superfox/win/foxchk.exe
${sfox_dir}/sfrx.exe
${sfox_dir}/sftx.exe
${sfox_dir}/foxchk.exe
DESTINATION ${CMAKE_INSTALL_BINDIR}
#COMPONENT runtime
)