Skip to content

Commit

Permalink
Fix nyquist target
Browse files Browse the repository at this point in the history
Restore the old installation directories. Fixes Inno Setup on Windows as
well.

Signed-off-by: Avery King <[email protected]>
  • Loading branch information
Avery King committed Jan 1, 2025
1 parent c73ce46 commit c6eb43e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nyquist/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ list( APPEND RUNTIME

foreach( source ${RUNTIME} )
set( src "${_SRCDIR}/${source}" )
set( dst "${_DEST}/${TARGET}/${source}" )
set( dst "${_DEST}/nyquist/${source}" )

# Fix this when reorganizing the Nyquist sources
if( source STREQUAL "system.lsp" )
Expand All @@ -69,7 +69,7 @@ foreach( source ${RUNTIME} )
DEPENDS
"${src}"
COMMAND
${CMAKE_COMMAND} -E make_directory "${_DEST}/${TARGET}"
${CMAKE_COMMAND} -E make_directory "${_DEST}/nyquist"
COMMAND
${CMAKE_COMMAND} -E copy "${src}" "${dst}"
OUTPUT
Expand All @@ -84,7 +84,7 @@ add_custom_target( ${TARGET} ALL DEPENDS ${OUTPUTS} SOURCES ${SOURCES} )

if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" )
if( NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio*")
install( DIRECTORY "${_DEST}/${TARGET}"
install( DIRECTORY "${_DEST}/nyquist"
DESTINATION "${_PKGDATA}" )
endif()
endif()
Expand Down

0 comments on commit c6eb43e

Please sign in to comment.