Skip to content

Commit

Permalink
Merge pull request #48 from HecatePhy/master
Browse files Browse the repository at this point in the history
fix Makefile: gzstream undefined symbol
  • Loading branch information
jayl940712 authored Aug 24, 2021
2 parents 72359b0 + 10ab0c7 commit 84a09d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flow/cpp/magical_flow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ add_subdirectory(${PYBIND11_ROOT_DIR} "./pybind11")
# boost
find_package(Boost 1.6 REQUIRED COMPONENTS system graph iostreams)

# zlib
find_package(ZLIB REQUIRED)

#Google Test
#if (GTEST_DIR)
#set(GTEST_ROOT_DIR ${GTEST_DIR})
Expand Down Expand Up @@ -131,6 +134,7 @@ include_directories (
#${GTEST_ROOT_DIR}/googletest/include
${PYBIND11_ROOT_DIR}/include
${PYTHON_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIRS}
${LIMBO_ROOT_DIR}/include
)

Expand Down Expand Up @@ -171,7 +175,7 @@ file(GLOB PY_API_SOURCES src/api/*.cpp ${SOURCES})

# Add modules to pybind
pybind11_add_module(${PROJECT_NAME} ${PY_API_SOURCES})
target_link_libraries(${PROJECT_NAME} PUBLIC ${LIMBO_LIB} ${Boost_LIBRARIES})
target_link_libraries(${PROJECT_NAME} PUBLIC ${LIMBO_LIB} ${Boost_LIBRARIES} ${ZLIB_LIBRARIES})

#Unit Tests using GoogleTest
#enable_testing()
Expand Down

0 comments on commit 84a09d0

Please sign in to comment.