mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
leave the default module path empty on windows
This commit is contained in:
parent
47a6e7fd3c
commit
527101a1c2
1 changed files with 11 additions and 6 deletions
|
@ -333,12 +333,17 @@ else()
|
||||||
set(platform "unix")
|
set(platform "unix")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
# Leave this empty for now, as the default GNU install directories won't
|
||||||
|
# help on Windows.
|
||||||
|
set(default_module_path "")
|
||||||
|
else()
|
||||||
string(JOIN ":" default_module_path
|
string(JOIN ":" default_module_path
|
||||||
${CMAKE_INSTALL_FULL_DATAROOTDIR}/chibi
|
${CMAKE_INSTALL_FULL_DATAROOTDIR}/chibi
|
||||||
${CMAKE_INSTALL_FULL_LIBDIR}/chibi
|
${CMAKE_INSTALL_FULL_LIBDIR}/chibi
|
||||||
${CMAKE_INSTALL_FULL_DATAROOTDIR}/snow
|
${CMAKE_INSTALL_FULL_DATAROOTDIR}/snow
|
||||||
${CMAKE_INSTALL_FULL_LIBDIR}/snow)
|
${CMAKE_INSTALL_FULL_LIBDIR}/snow)
|
||||||
|
endif()
|
||||||
|
|
||||||
configure_file(include/chibi/install.h.in include/chibi/install.h)
|
configure_file(include/chibi/install.h.in include/chibi/install.h)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue