• Dean Moldovan's avatar
    Fix test_cmake_build failure with bare python exe name (fix #783) · 555dc4f0
    Dean Moldovan authored
    Besides appearing in the CMake GUI, the `:FILENAME` specifier changes
    behavior as well:
    
    cmake -DPYTHON_EXECUTABLE=python ..  # FAIL, can't find python
    cmake -DPYTHON_EXECUTABLE=/path/to/python ..  # OK
    cmake -DPYTHON_EXECUTABLE:FILENAME=python ..  # OK
    cmake -DPYTHON_EXECUTABLE:FILENAME=/path/to/python ..  # OK
    555dc4f0
CMakeLists.txt 8.82 KB