Fix a condition used to determine if windows/mingw is in use
This commit is contained in:
parent
c5ac3c699d
commit
046622a445
|
@ -123,7 +123,7 @@ target_precompile_headers(${EXENAME} PRIVATE src/headers/Yerbacon.hpp)
|
|||
|
||||
# lpkg = linux package, wpkg = windows package
|
||||
set(PNAME ${PROJECT_NAME}-${CODENAME}-${TIME})
|
||||
if (UNIX AND NOT MINGW)
|
||||
if (UNIX AND NOT (MINGW OR CMAKE_HOST_WIN32))
|
||||
include(GNUInstallDirs)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr")
|
||||
set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
|
Loading…
Reference in New Issue