Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
read copiler from cmakelists in setup.py.in (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfraczek authored Nov 28, 2019
1 parent 33975b4 commit 8a9ed91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if '${OPENFABRICS_FOUND}' == 'TRUE':
lib_dirs += ' -L${OPENFABRICS_LIBRARY_DIRS} '
libs += ' -lfabric '

os.environ["CC"] = "g++"
os.environ["CC"] = "${CMAKE_CXX_COMPILER}"
src_list = "${SRC}".split(";")
sources = [
'${CMAKE_CURRENT_SOURCE_DIR}/'+src for src in src_list
Expand Down

0 comments on commit 8a9ed91

Please sign in to comment.