[CMake] Is it possible to detecting if -C was used, and if so which file was passed?

2017-04-05 Thread Harrison, Cyrus D.
Hi Everyone, I have a simple quandary — I was wondering if -C was used when cmake is run — is it possible to find the name of this file via any cmake state? Thanks! -Cyrus -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMak

[CMake] Issue with Python Libs in CMake 3.4 and Beyond on Linux

2017-01-31 Thread Harrison, Cyrus D.
Hi Everyone, Consistent with the docs here: https://cmake.org/cmake/help/v3.7/module/FindPythonLibs.html We want to seed which python libs we want to look for by calling find_package(PythonInterp), which sets the PYTHON_LIBRARY path, before calling find_package(PythonLibs) Starting with CMake