Hi everyone,
I am trying to build Catalyst2 from the source code on a Windows 10 system using the following setup:
- CMake Version: 3.31.0
- Paraview Version: 5.12.1
- Generator: Ninja
- Compilers: GNU 14.1.0
- Source Directory:
~/Catalyst/src
- Build Directory:
~/Catalyst/build
I followed the Catalyst2 Build Instructions. However, when I try to configure using cmake-gui
, I encounter the following error:
CMake Error at catalyst/CMakeLists.txt:159 (c_install_targets):
Unknown CMake command "c_install_targets".
Steps I Followed
- Cloned the Catalyst2 repository into
My Documents
folder. - Created an empty
build
directory inside the repository. - Opened
cmake-gui
and set:- Where is the source code?:
~/Catalyst/src
- Where to build the binaries?:
~/Catalyst/build
- Where is the source code?:
- Selected the Ninja generator and clicked Configure.
- Encountered the above error during configuration.
What I Tried
- Verified that
c_install_targets
is defined incatalyst-internal-macros.cmake
, which is included in the mainCMakeLists.txt
through the line:include(catalyst-internal-macros)
Questions
- Am I missing any dependencies or configurations specific to Windows when using Catalyst2 with Ninja and GNU?
- Is there a working example or CMake configuration file showing how to set these variables correctly?
Any help or guidance would be greatly appreciated!