mirror of https://github.com/libAthena/athena.git
Remove Windows cmake dir conditional
This commit is contained in:
parent
8558ca1b51
commit
2604243293
|
@ -317,11 +317,7 @@ set(ATHENA_ICO ${CMAKE_CURRENT_SOURCE_DIR}/Athena.ico)
|
||||||
# Offer the user the choice of overriding the installation directories
|
# Offer the user the choice of overriding the installation directories
|
||||||
set(INSTALL_LIB_DIR lib CACHE PATH "Installation directory for libraries")
|
set(INSTALL_LIB_DIR lib CACHE PATH "Installation directory for libraries")
|
||||||
set(INSTALL_INCLUDE_DIR include CACHE PATH "Installation directory for header files")
|
set(INSTALL_INCLUDE_DIR include CACHE PATH "Installation directory for header files")
|
||||||
if(WIN32 AND NOT CYGWIN)
|
|
||||||
set(INSTALL_CMAKE_DIR cmake)
|
|
||||||
else()
|
|
||||||
set(INSTALL_CMAKE_DIR lib/cmake/athena)
|
set(INSTALL_CMAKE_DIR lib/cmake/athena)
|
||||||
endif()
|
|
||||||
|
|
||||||
# Make relative paths absolute (needed later on)
|
# Make relative paths absolute (needed later on)
|
||||||
foreach(p LIB INCLUDE CMAKE)
|
foreach(p LIB INCLUDE CMAKE)
|
||||||
|
|
|
@ -64,11 +64,7 @@ endif()
|
||||||
# Offer the user the choice of overriding the installation directories
|
# Offer the user the choice of overriding the installation directories
|
||||||
set(INSTALL_INCLUDE_DIR include CACHE PATH "Installation directory for header files")
|
set(INSTALL_INCLUDE_DIR include CACHE PATH "Installation directory for header files")
|
||||||
set(INSTALL_BIN_DIR bin CACHE PATH "Installation directory for executables")
|
set(INSTALL_BIN_DIR bin CACHE PATH "Installation directory for executables")
|
||||||
if(WIN32 AND NOT CYGWIN)
|
|
||||||
set(INSTALL_CMAKE_DIR cmake)
|
|
||||||
else()
|
|
||||||
set(INSTALL_CMAKE_DIR lib/cmake/atdna)
|
set(INSTALL_CMAKE_DIR lib/cmake/atdna)
|
||||||
endif()
|
|
||||||
|
|
||||||
# Make relative paths absolute (needed later on)
|
# Make relative paths absolute (needed later on)
|
||||||
foreach(p BIN INCLUDE CMAKE)
|
foreach(p BIN INCLUDE CMAKE)
|
||||||
|
|
Loading…
Reference in New Issue