Skip to content

Commit

Permalink
build: Fixed remaining build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Nov 24, 2024
1 parent 382a623 commit 17359be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmake/build_helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions lib/libimhex/include/hex/helpers/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <cstdint>

#include <concepts>
#include <type_traits>

using u8 = std::uint8_t;
using u16 = std::uint16_t;
Expand Down

0 comments on commit 17359be

Please sign in to comment.