Skip to content

Commit

Permalink
Merge pull request #18 from joerowell/master
Browse files Browse the repository at this point in the history
Add support for building outside of Python environments
  • Loading branch information
vmarkovtsev authored Nov 21, 2023
2 parents 908c905 + d8e0129 commit 0500848
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 @@ endif()
if (NOT DEFINED CUDA_ARCH)
set(CUDA_ARCH "80")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -Wall -Werror -DCUDA_ARCH=${CUDA_ARCH} -std=c++17 ${OpenMP_CXX_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -march=native -Wall -Werror -DCUDA_ARCH=${CUDA_ARCH} -std=c++17 ${OpenMP_CXX_FLAGS}")
if (DEBUGINFO)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
endif()
Expand Down

0 comments on commit 0500848

Please sign in to comment.