mirror of
https://codeberg.org/tenacityteam/tenacity
synced 2025-10-10 18:52:43 +02:00
Fix nyquist target
Restore the old installation directories. Fixes Inno Setup on Windows as well. Signed-off-by: Avery King <avery98@pm.me>
This commit is contained in:
@@ -56,7 +56,7 @@ list( APPEND RUNTIME
|
|||||||
|
|
||||||
foreach( source ${RUNTIME} )
|
foreach( source ${RUNTIME} )
|
||||||
set( src "${_SRCDIR}/${source}" )
|
set( src "${_SRCDIR}/${source}" )
|
||||||
set( dst "${_DEST}/${TARGET}/${source}" )
|
set( dst "${_DEST}/nyquist/${source}" )
|
||||||
|
|
||||||
# Fix this when reorganizing the Nyquist sources
|
# Fix this when reorganizing the Nyquist sources
|
||||||
if( source STREQUAL "system.lsp" )
|
if( source STREQUAL "system.lsp" )
|
||||||
@@ -69,7 +69,7 @@ foreach( source ${RUNTIME} )
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${src}"
|
"${src}"
|
||||||
COMMAND
|
COMMAND
|
||||||
${CMAKE_COMMAND} -E make_directory "${_DEST}/${TARGET}"
|
${CMAKE_COMMAND} -E make_directory "${_DEST}/nyquist"
|
||||||
COMMAND
|
COMMAND
|
||||||
${CMAKE_COMMAND} -E copy "${src}" "${dst}"
|
${CMAKE_COMMAND} -E copy "${src}" "${dst}"
|
||||||
OUTPUT
|
OUTPUT
|
||||||
@@ -84,7 +84,7 @@ add_custom_target( ${TARGET} ALL DEPENDS ${OUTPUTS} SOURCES ${SOURCES} )
|
|||||||
|
|
||||||
if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" )
|
if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" )
|
||||||
if( NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio*")
|
if( NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio*")
|
||||||
install( DIRECTORY "${_DEST}/${TARGET}"
|
install( DIRECTORY "${_DEST}/nyquist"
|
||||||
DESTINATION "${_PKGDATA}" )
|
DESTINATION "${_PKGDATA}" )
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user