Skip to content

Commit

Permalink
ARCH append
Browse files Browse the repository at this point in the history
  • Loading branch information
serivesmejia authored Aug 6, 2023
1 parent 4588c23 commit c7e6b89
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ if(NOT DEFINED ARCH)
set(ARCH CMAKE_OSX_ARCHITECTURES)
else()
set(ARCH CMAKE_SYSTEM_PROCESSOR)
endif()
else()
string(APPEND "_" ARCH)
endif()
endif()

project("apriltag$ARCH")
string(APPEND "_" ARCH)

project("apriltag")

message(STATUS $ENV{JAVA_HOME})

Expand All @@ -28,7 +28,7 @@ set(JAVA_AWT_INCLUDE_PATH NotNeeded)
find_package(JNI REQUIRED)

add_library( # Specifies the name of the library.
apriltag
apriltag$ARCH

# Sets the library as a shared library.
SHARED
Expand Down

0 comments on commit c7e6b89

Please sign in to comment.