Skip to content

Commit

Permalink
Merge pull request #62 from andrsd/python-exe-fix
Browse files Browse the repository at this point in the history
CMake fixes related to linux platform
  • Loading branch information
andrsd authored May 27, 2024
2 parents c1146c6 + f45e785 commit 18cbb66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.19)
project(
fprops
VERSION 5.1
LANGUAGES CXX
LANGUAGES C CXX
)

set(CMAKE_CXX_STANDARD 17)
Expand Down
3 changes: 1 addition & 2 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
find_program(PYTHON "python" REQUIRED)

configure_file(setup.py.in setup.py)
install(CODE "execute_process(COMMAND ${PYTHON} -m pip install ${CMAKE_CURRENT_BINARY_DIR})")
install(CODE "execute_process(COMMAND ${Python3_EXECUTABLE} -m pip install ${CMAKE_CURRENT_BINARY_DIR})")

add_subdirectory(src)

Expand Down

0 comments on commit 18cbb66

Please sign in to comment.