Skip to content

Commit

Permalink
Refactor: Move with other target_link_libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaikh-Ubaid committed Feb 15, 2024
1 parent 314a30c commit a4ca179
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ endif()
add_library(lc_lib STATIC ${SRC})
target_link_libraries(lc_lib asr lc_runtime_static)

target_include_directories(lc_lib BEFORE PUBLIC ${lfortran_SOURCE_DIR}/src)
target_include_directories(lc_lib BEFORE PUBLIC ${lfortran_BINARY_DIR}/src)

if (WITH_ZLIB)
target_link_libraries(lc_lib ZLIB::ZLIB)
endif()

target_include_directories(lc_lib BEFORE PUBLIC ${lfortran_SOURCE_DIR}/src)
target_include_directories(lc_lib BEFORE PUBLIC ${lfortran_BINARY_DIR}/src)
if (WITH_XEUS)
target_link_libraries(lc_lib xeus xeus-zmq)
endif()
Expand Down

0 comments on commit a4ca179

Please sign in to comment.