Skip to content

Commit

Permalink
Fix detecting Linux os.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbolt committed Sep 30, 2024
1 parent 2c761c3 commit 4170215
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions distribution/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ if(ENABLE_DISTRIBUTION)

if(APPLE)
set(CPACK_GENERATOR "productbuild")
elseif(LINUX)
endif()

if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(CPACK_GENERATOR DEB)
set(CPACK_DEBIAN_PACKAGE_DEPENDS "")
endif(APPLE)
endif()

# create the installer for both solver and calibrator
install(TARGETS svzerodsolver svzerodcalibrator
Expand Down

0 comments on commit 4170215

Please sign in to comment.