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:
parent
b9c364fbca
commit
c8d109b0a0
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user