Skip to content

Commit

Permalink
Update CMake build system.
Browse files Browse the repository at this point in the history
  • Loading branch information
docbacardi committed Feb 16, 2023
1 parent afb00da commit f6e18bc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cmake/muhkuh_installation_folders.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ ENDIF(NOT DEFINED INSTALL_DIR_LUA_SCRIPTS)
IF(NOT DEFINED INSTALL_DIR_SHARED_OBJECTS)
SET(INSTALL_DIR_SHARED_OBJECTS "bin")
ENDIF(NOT DEFINED INSTALL_DIR_SHARED_OBJECTS)

IF(NOT DEFINED INSTALL_DIR_DEVELOPMENT)
SET(INSTALL_DIR_DEVELOPMENT "dev")
ENDIF(NOT DEFINED INSTALL_DIR_DEVELOPMENT)
2 changes: 1 addition & 1 deletion cmake/platform.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ IF((NOT DEFINED JONCHKI_PLATFORM_DIST_ID) OR (NOT DEFINED JONCHKI_PLATFORM_DIST_

# Is this a windows platform?
IF(CMAKE_SYSTEM_NAME STREQUAL "Windows")
SET(JONCHKI_PLATFORM_DIST_ID "windows")
SET(JONCHKI_PLATFORM_DIST_ID "windows")

# Get the CPU architecture.
IF(DEFINED ENV{PROCESSOR_ARCHITECTURE})
Expand Down
7 changes: 7 additions & 0 deletions cmake/tools/get_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ do
ln -fs ${PKG_DIR}${TARGET} ${LINK}
fi
done

# Remove any local installed versions of libc and libpthread. These libs are
# shipped with the compiler. Local versions in the "packages" folder might
# conflict with the compiler builtins.
find . -name "libc*" -delete
find . -name "libpthread*" -delete
find . -name "stdio.h" -delete

0 comments on commit f6e18bc

Please sign in to comment.