Skip to content

Commit

Permalink
Quito warning en macos
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisPalacios committed Sep 8, 2024
1 parent 932399a commit d10d303
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin") # macOS
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${LLVM_PATH}/include")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I${LLVM_PATH}/include")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L${LLVM_PATH}/lib")
# Evitar Warning: reexported library with install name
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-reexport_library,/opt/homebrew/opt/llvm@17/lib/libunwind.1.dylib")

elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux") # Linux
message(STATUS "Configurando para Linux")
Expand Down Expand Up @@ -72,9 +74,6 @@ else()
message(FATAL_ERROR "Sistema operativo no soportado: ${CMAKE_SYSTEM_NAME}")
endif()

# Evitar Warning: reexported library with install name
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-reexport_library,/opt/homebrew/opt/llvm@17/lib/libunwind.1.dylib")

# Añadir el ejecutable principal
add_executable(git-repo-eol-analyzer
src/main.cpp
Expand Down
Empty file removed precommit-test.txt
Empty file.
Empty file removed test.txt
Empty file.

0 comments on commit d10d303

Please sign in to comment.