1
0
mirror of synced 2024-11-30 18:34:29 +01:00

build: Fixed remaining build issues

This commit is contained in:
WerWolv 2024-11-24 14:16:48 +01:00
parent 382a62343d
commit 17359be58a
3 changed files with 5 additions and 4 deletions

View File

@ -307,9 +307,6 @@ endfunction()
macro(configureCMake)
message(STATUS "Configuring ImHex v${IMHEX_VERSION}")
# Enable C and C++ languages
enable_language(C CXX)
set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "Enable position independent code for all targets" FORCE)
# Configure use of recommended build tools
@ -383,6 +380,9 @@ macro(configureCMake)
endmacro()
function(configureProject)
# Enable C and C++ languages
enable_language(C CXX)
if (XCODE)
# Support Xcode's multi configuration paradigm by placing built artifacts into separate directories
set(IMHEX_MAIN_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Configs/$<CONFIG>" PARENT_SCOPE)

@ -1 +1 @@
Subproject commit f82c7185519219a3462f3f8667f431b3b8093339
Subproject commit eb826d70d32fc5dd27541514cc56dc741d94416a

View File

@ -4,6 +4,7 @@
#include <cstdint>
#include <concepts>
#include <type_traits>
using u8 = std::uint8_t;
using u16 = std::uint16_t;