Skip to content

Commit

Permalink
enclose cd command
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykrumb committed Jul 6, 2023
1 parent d291eec commit 67f307d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ExternalProject_Add(
GIT_REPOSITORY https://github.com/FreeSpacenav/libspnav
GIT_TAG master
INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/install
CONFIGURE_COMMAND cd ${CMAKE_CURRENT_BINARY_DIR}/spnav && ./configure
CONFIGURE_COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/spnav && ./configure"
BUILD_COMMAND ${CMAKE_COMMAND} -E env
CC=${CMAKE_C_COMPILER}
make -C ${CMAKE_CURRENT_BINARY_DIR}/spnav
Expand Down

0 comments on commit 67f307d

Please sign in to comment.