Skip to content

Commit

Permalink
cmake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ladnir committed Jun 13, 2024
1 parent 32ad128 commit bebee75
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions cmake/libOTeConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# these are just pass through config file for the ones that are placed in the build directory.



#used to find coproto, macoro
set(PUSHED_CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH})
set(CMAKE_PREFIX_PATH "${COPROTO_BUILD_DIR}/macoro;${CMAKE_PREFIX_PATH}")
set(CMAKE_PREFIX_PATH "${COPROTO_BUILD_DIR}/coproto;${CMAKE_PREFIX_PATH}")
#message("\n\nhere ${CMAKE_CURRENT_LIST_FILE}\nCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}\n\n")

#used to find coproto, macoro
include("${CMAKE_CURRENT_LIST_DIR}/libOTePreamble.cmake")
set(CMAKE_PREFIX_PATH "${LIBOTE_BUILD_DIR}/macoro;${CMAKE_PREFIX_PATH}")
set(CMAKE_PREFIX_PATH "${LIBOTE_BUILD_DIR}/coproto;${CMAKE_PREFIX_PATH}")
message("\n\nhere ${CMAKE_CURRENT_LIST_FILE}\nCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}\n\n")

include("${LIBOTE_BUILD_DIR}/libOTeConfig.cmake")

set(CMAKE_PREFIX_PATH ${PUSHED_CMAKE_PREFIX_PATH})

0 comments on commit bebee75

Please sign in to comment.