mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Error out if Python not found.
svn path=/trunk/yasm/; revision=2105
This commit is contained in:
parent
c59ebcbe36
commit
e09d5a7968
1 changed files with 4 additions and 0 deletions
|
|
@ -33,7 +33,11 @@ CONFIGURE_FILE(libyasm-stdint.h.cmake
|
|||
CONFIGURE_FILE(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||
|
||||
ADD_DEFINITIONS(-DHAVE_CONFIG_H)
|
||||
|
||||
INCLUDE(FindPythonInterp)
|
||||
IF (NOT PYTHON_EXECUTABLE)
|
||||
MESSAGE(FATAL_ERROR "Could not find Python executable")
|
||||
ENDIF (NOT PYTHON_EXECUTABLE)
|
||||
|
||||
IF (CMAKE_COMPILER_IS_GNUCXX)
|
||||
CHECK_C_COMPILER_FLAG(-pipe C_ACCEPTS_PIPE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue