File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change 6666 export CMAKE_PREFIX_PATH=${{github.workspace}}/local:$CMAKE_PREFIX_PATH
6767 mkdir -p ${{github.workspace}}/build
6868 cd ${{github.workspace}}/build
69- cmake .. -DCMAKE_INSTALL_PREFIX=${PWD} -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON
69+ cmake .. -DCMAKE_INSTALL_PREFIX=${PWD}/locaL -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON
7070
7171 - name : Build
7272 run : |
Original file line number Diff line number Diff line change @@ -75,19 +75,6 @@ target_include_directories(libpurify PUBLIC
7575 $< BUILD_INTERFACE:${PROJECT_BINARY_DIR} /include>
7676 $< INSTALL_INTERFACE:include/> )
7777
78- if (cppflow )
79- target_link_libraries (libpurify "${TENSORFLOW_LIB} " )
80- # Make cppflow include directory public. Install interface can't point to source directory,
81- # so it needs to be separately defined, explained in
82- # https://stackoverflow.com/questions/25676277/cmake-target-include-directories-prints-an-error-when-i-try-to-add-the-source
83- # Add /usr/local/include for default location of TensorFlow headers
84- target_include_directories (libpurify PUBLIC
85- $< BUILD_INTERFACE:${cppflow_INCLUDE_DIR} >
86- $< BUILD_INTERFACE:/usr/local/include>
87- $< INSTALL_INTERFACE:cppflow/include/>
88- )
89- endif ()
90-
9178add_include_dir (
9279 ${EIGEN3_INCLUDE_DIR}
9380 ${Boost_INCLUDE_DIR}
@@ -124,12 +111,6 @@ if(PURIFY_CASACORE_LOOKUP)
124111 add_dependencies (libpurify Lookup-CasaCore )
125112endif ()
126113
127- # Add spdlog as direct dependency
128- if (spdlog_FOUND )
129- target_link_libraries (libpurify spdlog::spdlog )
130- target_include_directories (libpurify SYSTEM PUBLIC ${spdlog_INCLUDE_DIR} )
131- endif ()
132-
133114install (FILES ${HEADERS} DESTINATION include /purify )
134115install (TARGETS libpurify
135116 EXPORT PurifyTargets
You can’t perform that action at this time.
0 commit comments